package com.miracle9.game.service;

import com.miracle9.game.dao.JoyDeskServiceDao;
import com.miracle9.game.entity.JoyDesk;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("joyDeskService")
public class JoyDeskService
{
  @Autowired
  private JoyDeskServiceDao joyDeskServiceDao;
  
  public JoyDesk getJoyDesk(int id)
  {
    return (JoyDesk)this.joyDeskServiceDao.getById(Integer.valueOf(id));
  }
}
